home *** CD-ROM | disk | FTP | other *** search
- # note: this file is intended to be use in conjunction with
- # quickieControls.nib. The idea is this: you have some eve file, which
- # perhaps you got by dropping a RIB file into a WW3DWell and exporting
- # it as eve. You now want to manipulate it; translate it so that it
- # rotates about some particular point, scale it non-uniformly, skew it
- # slightly, rotate it about one axis, etc. Open up the eve file and put
- # the following "set" commands at the top of the file. Then just after
- # the "startShape" command put the following "EveCmd" commands. Then
- # drop that eve file into the WW3DWell, and then drop the
- # quickieControls.nib into the WW3DWell. et voila - you now can control
- # stuff. It's usually very handy to have the the "draw origin" switch
- # selected in the qrman controls of the camera on the WW3DWell's control
- # panel (bring it up by click the edge of the WW3DWell). Enjoy!
-
- # color
- set color {1 1 1}
- # scale controls
- set xS 1.0
- set yS 1.0
- set zS 1.0
- #
- # translate controls
- set xT 0
- set yT 0
- set zT 0
- #
- # rotate controls
- set xR 0
- set yR 0
- set zR 0
- #
- # skew controls
- set aSk 0
- set x1Sk 1
- set y1Sk 0
- set z1Sk 0
- set x2Sk 1
- set y2Sk 0
- set z2Sk 0
-
- animatable: {Color $color}
- animatable: {Scale $xS $yS $zS}
- animatable: {Translate $xT $yT $zT}
- animatable: {Rotate $xR 1 0 0 }
- animatable: {Rotate $yR 0 1 0 }
- animatable: {Rotate $zR 0 0 1 }
- animatable: {Skew $aSk $x1Sk $y1Sk $z1Sk $x2Sk $y2Sk $z2Sk}
-
-